package org.yate.oa.utils;

/**
 * Constants.java
 */

/**
 * @author Yate
 * @date 2013年10月12日
 * @description TODO
 * @version 1.0
 */
public final class Constants {
	/**
	 * 字符编码
	 */
	public static final String CHARACTOR_CODE = "UTF-8";
	public static final String SESSION_USER_ENTITY = "user";
	public static final int ONE_DAY = 27000000;
	public static final int KF_ONE_DAY = 21600000;
	
	public static final long FILE_MAX_SIZE = 5 * 1024 * 1024;// 5M

	public static final String WIN_FILE_PATH_SYMBOL = "\\\\";

	public static final String LOAD_IMAGE_URL = "/static/source/%d.html";

	public static final Integer REDIS_MGET_LIMIT = 10;
	public static final Long REDIS_DEFAULT_CACHE_TIME = 1209600000l;
}
